//
//  DHSortView.h
//  宏达APP
//
//  Created by DIANGHONG on 2018/4/28.
//  Copyright © 2018年 123. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum Listorder{
    ListorderNone,
    ListorderAsc, // 升序
    ListorderDec // 降序
}Listorder;

// 排序
typedef enum ListSortorder{
    ListSortorderDefault , // 综合排序
    ListSortorderNone , // 综合排序
    ListSortorderHightToLowPrice , // 价格高到低排序
    ListSortorderLowToHightPrice, // 价格低到高排序
    ListSortorderPopWay // 人气排序
    
}ListSortorder;

@class DHSelectSortView;

@interface DHSortView : UIView

@property(nonatomic ,copy)void(^sortoderListGoodBlock)(ListSortorder); // 对列表排序 闭包回调

@property(nonatomic ,copy)void(^viewPresentMode)(BOOL isGrid);

@property(nonatomic ,copy)void(^showFilterView)(void);

@property(nonatomic ,assign)ListSortorder sortKey;

@property(nonatomic ,assign)Listorder oder;


+ (instancetype)sortView;


@end
